.class Les/aa$a;
.super Ljava/lang/Object;
.source "BackgroundAudioMixer.java"

# interfaces
.implements Ljava/util/Comparator;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/aa;-><init>(Ljava/util/List;II)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/util/Comparator<",
        "Les/ba;",
        ">;"
    }
.end annotation


# direct methods
.method constructor <init>(Les/aa;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Les/ba;Les/ba;)I
    .locals 2

    .line 1
    iget-object p1, p1, Les/ba;->d:Landroid/util/Pair;

    invoke-static {p1}, Lcom/esfile/screen/recorder/media/util/x;->a(Landroid/util/Pair;)J

    move-result-wide v0

    iget-object p1, p2, Les/ba;->d:Landroid/util/Pair;

    .line 2
    invoke-static {p1}, Lcom/esfile/screen/recorder/media/util/x;->a(Landroid/util/Pair;)J

    move-result-wide p1

    sub-long/2addr v0, p1

    const-wide/16 p1, 0x1

    .line 3
    invoke-static {v0, v1, p1, p2}, Ljava/lang/Math;->min(JJ)J

    move-result-wide p1

    const-wide/16 v0, -0x1

    invoke-static {p1, p2, v0, v1}, Ljava/lang/Math;->max(JJ)J

    move-result-wide p1

    long-to-int p2, p1

    return p2
.end method

.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
    .locals 0

    .line 1
    check-cast p1, Les/ba;

    check-cast p2, Les/ba;

    invoke-virtual {p0, p1, p2}, Les/aa$a;->a(Les/ba;Les/ba;)I

    move-result p1

    return p1
.end method
